goog.provide('czk.ui.tab.Tabpanel');

goog.require('goog.dom');
goog.require('goog.dom.TagName');

goog.require('czk.ui.ZKComponent');

/**
 * @constructor
 * @extends {czk.ui.ZKComponent}
 */
czk.ui.tab.Tabpanel = function() {
  goog.base(this);
};
goog.inherits(czk.ui.tab.Tabpanel, czk.ui.ZKComponent);

czk.ui.tab.Tabpanel.prototype.createDom = function() {
  var dh = this.getDomHelper();
  var el = dh.createDom(goog.dom.TagName.DIV);
  this.setElementInternal(el);
};

czk.ui.tab.Tabpanel.prototype.show = function() {
  goog.dom.setProperties(this.getElement(), {
    'style': ''
  });
};

czk.ui.tab.Tabpanel.prototype.hide = function() {
  goog.dom.setProperties(this.getElement(), {
    'style': 'display:none'
  });
};

czk.ui.tab.Tabpanel.create = function() {
  return new czk.ui.tab.Tabpanel();
};
